<template>
	<view class="bom_nav">
		<view class="item">
			<view @click="navLink('/')">
				<neu-icon type="iconshouye" size="48" color="#666" />
				<text>首页</text>
			</view>

		</view>
		<view class="item">
			<view>
				<view class="ercode">
					<view class="bg">
						<neu-icon type="iconerweima" size="58" color="#fff" />
					</view>
				</view>
				<text>电子凭证</text>
			</view>

		</view>
		<view class="item">
			<view @click="navLink('/pages/my/my')">
				<neu-icon type="iconwode" size="48" color="#666" />
				<text>我的</text>
			</view>

		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods:{
			navLink(link){
				this.$router.replace(link)
			}
		}
	}
</script>

<style lang="scss">
	.bom_nav {
		width: 750rpx;
		height: 120rpx;
		background-color: #fff;
		display: flex;
		justify-content: center;
		flex-wrap: nowrap;
		position: relative;
		z-index: 999;
		padding-bottom: 20rpx;

		.item {
			width: 33vw;
			display: flex;
			justify-content: center;
			align-items: flex-end;
			text-align: center;

			.ercode {
				width: 120rpx;
				height: 120rpx;
				overflow: hidden;
				border-radius: 50%;
				display: flex;
				border: 5px solid #fff;

				.bg {
					background-color: #538BEC;
					width: 100%;
					height: 100%;
					display: flex;
					align-items: center;
					justify-content: center;
				}
			}
		}


	}
</style>
